package ntd.util.modular.function.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ntd.util.config.common.entity.BaseEntityMybatis;
import ntd.util.config.common.enums.app.EnumServerType;


import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@TableName("function_server")
@Data
@Schema(description = "功能中心 - 服务器管理")
public class Server extends BaseEntityMybatis<Server> {

    @Schema(description = "所属机构", title = "所属机构")
    private String tenantId;
    @Schema(description = "平台商", title = "平台商")
    private String platformId;
    @Schema(description = "服务器名称", title = "服务器名称")
    private String name;
    @Schema(description = "服务器地址", title = "服务器地址")
    private String linkAddress;
    @Schema(description = "服务器账号", title = "服务器账号")
    private String account;
    @Schema(description = "服务器密码", title = "服务器密码")
    private String password;
    @Schema(description = "购买时间", title = "购买时间")
    private Date purchaseTime;
    @Schema(description = "到期时间", title = "到期时间")
    private Date expirationTime;
    @Schema(description = "服务器类型", title = "服务器类型")
    private EnumServerType enumServerType;
    @Schema(description = "备注信息", title = "备注信息")
    private String remark;

}
